﻿@using VirtualPress.Infrastructure.Entities.Entity;
@{News news = ViewBag.Data;}
@{
    ViewBag.Title = news.Title;
    Layout = "~/Views/Shared/_Main.cshtml";
}
<div class="container">
    <div class="row">
        <div class="span9">
            <!-- navagation -->
            <ul class="breadcrumb">
                <li><a href="/Home">首页</a> <span class="divider">/</span></li>
                <li><a href="/Home/News">新闻动态</a> <span class="divider">/</span></li>
                <li class="active">@news.Title</li>
            </ul>
            <div class="active" id="tab1">
                <div class="newstitle">@news.Title</div>
                <div class="newsinfo">
                    @news.CreateDate.ToString("yyyy年MM月dd日 HH:mm")
                    <br />
                    来源：@news.Form
                </div>
                <hr class="flline">
                <div class="newscontent">
                    @Html.Raw(@news.Content)</div>
            </div>
        </div>
        <div class="span3">
            <div class="mini-layout" style="height:auto">
                @RenderPage("~/Views/Shared/Partial/_Quiklinks.cshtml")
                <div class="hspace15">
                </div>
                <div class="hspace15">
                </div>
                @RenderPage("~/Views/Shared/Partial/_Newjournals.cshtml")
                <div class="hspace15">
                </div>
                <div class="hspace15">
                </div>
                @RenderPage("~/Views/Shared/Partial/_Consult.cshtml")
            </div>
        </div>
    </div>
</div>
@section tail
{
    <script type="text/javascript">
        $(function () {
            $('#linews').addClass('active');
        });
    </script>
}